<!DOCTYPE html>
<html lang="">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="viewport"
        content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <link rel="icon" href="/favicon.ico">
    <title>Enco Admin</title>
</head>

<body>
    <div id="app">
        <style>
            body {
                margin: 0;
            }

            #app {
                --speed-of-animation: 0.9s;
                --first-color: #4c86f9;
                --second-color: #49a84c;
                --third-color: #f6bb02;
                --fourth-color: #f6bb02;
                --fifth-color: #2196f3;

                display: flex;
                flex-grow: 0;
                align-items: center;
                justify-content: center;
                height: 100vh;
                padding: 0;
                margin: 0;
                overflow: hidden;
            }

            .loading {
                display: flex;
                gap: 6px;
                align-items: flex-end;
                justify-content: center;
                width: 100px;
                height: 100px;
            }

            .loading span {
                width: 4px;
                height: 50px;
                background: var(--first-color);
                animation: scale var(--speed-of-animation) ease-in-out infinite;
            }

            .loading span:nth-child(2) {
                background: var(--second-color);
                animation-delay: -0.8s;
            }

            .loading span:nth-child(3) {
                background: var(--third-color);
                animation-delay: -0.7s;
            }

            .loading span:nth-child(4) {
                background: var(--fourth-color);
                animation-delay: -0.6s;
            }

            .loading span:nth-child(5) {
                background: var(--fifth-color);
                animation-delay: -0.5s;
            }

            @keyframes scale {

                0%,
                40%,
                100% {
                    transform: scaleY(0.05);
                }

                20% {
                    transform: scaleY(1);
                }
            }
        </style>
        <div class="loading">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
</body>

</html>